﻿<?
	@require_once("services/Utility.php");
	
	//if(!isset($_SESSION["canAccess"]) || $_SESSION["canAccess"] != 'true')
	//{
	//	echo '<script type="text/javascript"> window.location="index.php"; </script>';
	//}
	//if((Session('accessType') & 2) == '0')
	//{
	//	echo '<script type="text/javascript"> window.location="search.php"; </script>';
	//}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Profile</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="style/info.css" type="text/css" media="screen" />
<link rel="stylesheet" href="style/main.css" type="text/css" media="screen" />

<script type="text/javascript" src="script/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="script/login.js"></script>
<script type="text/javascript" src="script/md5.js"></script>

<!-- Dialog -->
<link rel="stylesheet" href="style/messi.min.css" />
<script src="script/messi.js"></script>

    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
	
<script type="text/javascript" src="script/editData.js"></script>

</head>

<body>
<div id="art-page-background-simple-gradient">
    </div>
    <div id="art-page-background-glare">
        <div id="art-page-background-glare-image"></div>
    </div>
    <div id="art-main">
        <div class="art-Sheet">
            <div class="art-Sheet-tl"></div>
            <div class="art-Sheet-tr"></div>
            <div class="art-Sheet-bl"></div>
            <div class="art-Sheet-br"></div>
            <div class="art-Sheet-tc"></div>
            <div class="art-Sheet-bc"></div>
            <div class="art-Sheet-cl"></div>
            <div class="art-Sheet-cr"></div>
            <div class="art-Sheet-cc"></div>
            <div class="art-Sheet-body">
                <div class="art-Header">
                    <div class="art-Header-jpeg"></div>
                </div>
                <!--div class="art-nav">
                	<ul class="art-menu">
                		<li>
                			<a href="search.php" target="mainFrame"><span class="l"></span><span class="r"></span><span class="t">Search</span></a>
                		</li>
                		<li>
                			<a href="createProfile.php" target="mainFrame"><span class="l"></span><span class="r"></span><span class="t">Create Profile</span></a>
                		</li>
                	</ul>
                </div-->
                <div class="art-contentLayout" style="height: 400px !important;">
                    <div class="art-content">
                        <div class="art-Post">
						
						<!-- Begin Content -->
						
						<div class="createProfile">
<table class="profile" id="allProfile">
	<tr class="headerInfo">
		<td colspan="2">
			<h3 class="font-color-meta">Create Profile :</h3>
		</td>
	</tr>
					<tr>
						<td>Username :</td>
						<td><span id="Username"><input type="text" id="Username_Edited" value=""></span></td>
					</tr>
					<tr>
						<td>Password :</td>
						<td><span id="Password"><input type="password" id="Password_Edited" value=""></span></td>
					</tr>
					<tr>
						<td>Confirm Password :</td>
						<td><span id="ConfirmPassword"><input type="password" id="ConfirmPassword_Edited" value=""></span></td>
					</tr>
					<tr>
						<td>ชื่อ:</td>
						<td><span id="Name"><input type="text" id="Name_Edited" value=""></span></td>
					</tr>
					<tr>
						<td>ชื่อเล่น:</td>
						<td><span id="NickName"><input type="text" id="NickName_Edited" value=""></span></td>
					</tr>
					<tr>
						<td>กลุ่ม:</td>
						<td>
							<span id="Group">
								<select id="Group_Edited">
									<option value="1" selected="">Staff</option>
									<option value="2">Student</option>
									<option value="3">Family</option>
								</select>
							</span>
						</td>
					</tr>
					<tr>
						<td>เบอร์โทร:</td>
						<td><span id="phone"><input type="text" id="phone_Edited" value=""></span></td>
					</tr>
					<tr>
						<td>Email:</td>
						<td>
							<span id="email"><input type="text" id="email_Edited" value=""></span>
						</td>
					</tr>
		<tr>
			<td colspan="2" style="padding-top: 10px !important; text-align:right">
				<a href="index.php" style="margin-right: 20px;"><< Back</a>
				<input type="button" value="Create" class="simpleButton" onclick="createInfoData();">
			<td>
		</tr>
</table>
</div>
						
						<!-- End of Content -->
						
                        </div>
                    </div>
                </div>
        		<div class="cleared"></div>
            </div>
        </div>
        <div class="cleared"></div>
    </div>
    
</body>
</html>